@font-face {
    font-family: "HanyiSentyGoldenBell";
    src: url("font_style/HanyiSentyGoldenBell.woff") format("woff"),
        url("font_style/HanyiSentyGoldenBell.woff2") format("woff2");
}

body {
    cursor: wait;
    background-color: plum;
    font-family: "HanyHanyiSentyGoldenBell";
    background-attachment: fixed;
    background-image: url("background/pink_background.jpg");
    background-position: center;
    background-repeat: repeat;
    background-size: auto;
    height: auto;
    width: auto;
}

a {
    color: #000000;
    text-decoration: none;
}

h1 {
    font-family: "HanyHanyiSentyGoldenBell", cursive;
    position: fixed;
    font-size: 72px;
    left: 320px;
    top: 1%;
    animation-name: shake;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
    animation-play-state: running;
}

h1 img {
    position: absolute;
    width: 40%;
    top: -20px;
    left: 30%;
    visibility: hidden;
}

h1:hover {
    animation-duration: 1s;
}

h1:hover img {
    visibility: visible;
}

nav {
    font-family: "HanyiSentyGoldenBell";
    text-shadow: 0px 0px 10px white;
    position: fixed;
    top: 196px;
    width: 350px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 42px;
    line-height: 60px;
}

nav a:hover {
    animation-name: scale_nav;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    animation-play-state: running;
}

ul {
    width: 320px;
    margin: 0px;
    padding: 0px;
    list-style: none;
    background-color: #ffca99;
}

p {
    margin: 0%;
    padding: 0%;
}

div {
    margin: 0%;
    padding: 0%;
}

footer {
    font-family: "HanyHanyiSentyGoldenBell", cursive;
    background-color: rgb(155, 145, 205);
    border-radius: 30px;
    width: 600px;
    position: absolute;
    font-size: 12px;
    bottom: 2.5%;
    color: white;
    text-align: center;
    margin: 20px;
    left: 25%;
    right: 25%;
    z-index: -1;
    animation-name: ltr;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
    animation-play-state: running;
}

@keyframes logo {
    0% {
        rotate: 0deg;
    }

    100% {
        rotate: 360deg;
    }
}

@keyframes scale_nav {
    0% {
        font-size: 42px;
    }

    100% {
        font-size: 88px;
    }
}

@keyframes ltr {
    0% {
        left: 40%;
        bottom: 3%;
        text-shadow: 1px 1px 1px rgb(0, 0, 0);
    }

    50% {
        bottom: 1%;
        text-shadow: 1px 1px 1px rgb(255, 255, 255);
    }

    100% {
        right: 50%;
        bottom: 3%;
        text-shadow: 1px 1px 1px rgb(0, 0, 0);
    }
}

@keyframes shake {
    0% {
        left: 320px;
        rotate: -10deg;
        text-shadow: 1px 1px #ffffff;
    }

    10% {
        rotate: -5deg;
        text-shadow: 1px 1px 3px #000000;
    }

    20% {
        text-shadow: 1px 1px #ffffff;
        rotate: -10deg;
    }

    80% {
        rotate: 10deg;
        text-shadow: 1px 1px #ffffff;
    }

    90% {
        rotate: 5deg;
        text-shadow: 1px 1px 3px #000000;
    }

    100% {
        left: 512px;
        rotate: 10deg;
        text-shadow: 1px 1px #ffffff;
    }
}

@keyframes round {
    0% {
        opacity: 0;
    }

    3% {
        opacity: 1;
    }

    17% {
        opacity: 1;
    }

    20% {
        opacity: 0;
    }
}

.time {
    font-size: 32px;
    display: block;
    position: fixed;
    right: 50px;
    width: 300px;
    font-family: "HanyHanyiSentyGoldenBell", Arial, cursive, ;
    background-color: antiquewhite;
    margin: 10px;
    padding: 10px;
    border-radius: 30px;
    box-shadow: 0px 0px 5px gray;
}

.head_container {
    font-family: "HanyHanyiSentyGoldenBell";
    position: fixed;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: 225px;
}

.logo {
    visibility: hidden;
}

.logo:hover {
    visibility: visible;
}

.home {
    position: fixed;
    left: 40px;
    width: 196px;
    height: 196px;
    animation-name: logo;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: normal;
    animation-play-state: running;
    filter: drop-shadow(0px 0px 10px rgb(0, 255, 255));
}

.home:hover {
    animation-play-state: paused;
    cursor: pointer;
    transform: rotate(720deg);
    transition-timing-function: ease-out;
    transition-duration: 1.5s;
    filter: drop-shadow(0px 0px 20px rgb(255, 0, 0));
}

.main_menu {
    margin-left: 10px;
    margin-top: 10px;
    padding-left: 10px;
    padding-top: 10px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.nav {
    position: relative;
    width: 320px;
    background-color: #ffca99;
    height: 65%;
    left: -20px;
    margin-left: 10px;
    padding-left: 10px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    z-index: -1;
}

.entry_inf {
    visibility: hidden;
}

.entry_inf:hover {
    visibility: visible;
    cursor: pointer;
}

.sec_menu {
    position: relative;
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    border-radius: 25px;
    left: 320px;
    top: -80px;
    width: 190px;
}

.pic {
    position: fixed;
    top: 200px;
    left: 600px;
    right: 50px;
    width: auto;
    height: 420px;
    overflow: hidden;
    box-shadow: 0px 0px 5px black;
    background-color: gray;
    border-radius: 40px;
}

.pic img {
    display: block;
    position: absolute;
    object-fit: cover;
    object-position: center center;
    height: 100%;
    width: 100%;
    opacity: 0;
    animation-name: round;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-fill-mode: backwards;
    animation-play-state: running;
    animation-direction: normal;
}

#p1 {
    animation-duration: 30s;
    animation-delay: 0s;
}

#p2 {
    animation-duration: 30s;
    animation-delay: 5s;
}

#p3 {
    animation-duration: 30s;
    animation-delay: 10s;
}

#p4 {
    animation-duration: 30s;
    animation-delay: 15s;
}

#p5 {
    animation-duration: 30s;
    animation-delay: 20s;
}

#p6 {
    animation-duration: 30s;
    animation-delay: 25s;
}

@font-face {
    font-family: "HanyiSentyGoldenBell";
    src: url("font_style/HanyiSentyGoldenBell.woff") format("woff"),
        url("font_style/HanyiSentyGoldenBell.woff2") format("woff2");
}

.map {
    font-family: "HanyiSentyGoldenBell";
    position: fixed;
    top: 200px;
    left: 600px;
    right: 50px;
    width: auto;
    height: 420px;
    z-index: -10;
    box-shadow: 0px 0px 5px black;
    margin: 0px;
    border-radius: 40px;
    background-color: rgb(240, 240, 240);
    overflow: hidden;
}

.map iframe {
    position: relative;
    height: 100%;
    width: 100%;
}

.lib {
    font-family: "HanyiSentyGoldenBell";
    position: fixed;
    top: 200px;
    left: 600px;
    right: 50px;
    width: auto;
    height: 420px;
    z-index: -10;
    box-shadow: 0px 0px 5px black;
    margin: 0px;
    border-radius: 40px;
    background-color: white;
    overflow: scroll;
}

.lib img {
    position: relative;
    bottom: -10px;
    width: 100%;
}

.mascot {
    font-family: "HanyiSentyGoldenBell";
    position: fixed;
    top: 200px;
    left: 600px;
    right: 50px;
    width: auto;
    height: 420px;
    z-index: -10;
    box-shadow: 0px 0px 5px black;
    margin: 0px;
    border-radius: 40px;
    background-color: white;
    overflow: hidden;
}

.mascot img {
    display: block;
    float: right;
    position: relative;
    top: 0px;
    right: 0px;
    margin: 14px;
    width: 300px;
}

.mascot h3 {
    margin: 25px;
}

.mascot p {
    margin: 25px;
}

.htg {
    font-family: "HanyiSentyGoldenBell";
    position: fixed;
    top: 200px;
    left: 600px;
    right: 50px;
    width: auto;
    height: 420px;
    z-index: -10;
    box-shadow: 0px 0px 5px black;
    margin: 0px;
    border-radius: 40px;
    background-color: rgb(240, 240, 240);
    overflow: hidden;
}

.htg iframe {
    position: relative;
    height: 390px;
    width: 100%;
}

.pa {
    font-family: "HanyiSentyGoldenBell";
    position: fixed;
    top: 200px;
    left: 600px;
    right: 50px;
    width: auto;
    height: 420px;
    z-index: -10;
    box-shadow: 0px 0px 5px black;
    margin: 0px;
    border-radius: 40px;
    background-color: rgb(240, 240, 240);
    overflow: scroll;
}

.pa table {
    position: relative;
    width: 175%;
    font-size: 24px;
    line-height: 32px;
}

.pa a:hover {
    animation-name: scale_table;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    animation-play-state: running;
}

.au {
    font-family: "HanyiSentyGoldenBell";
    position: fixed;
    top: 200px;
    left: 600px;
    right: 50px;
    width: auto;
    height: 430px;
    z-index: -10;
    box-shadow: 0px 0px 0px black;
    margin: 0px;
    border-radius: 0px;
    background-color: transparent;
    overflow: hidden;
}

.au table {
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 28px;
    line-height: 30px;
}

.au table img {
    display: block;
    float: left;
    position: relative;
    top: 0px;
    right: 0px;
    margin: 0px;
    height: 150px;
    border-radius: 40px;
}

.au table img p {
    font-size: 36px;
    animation: scale_word 2s alternate infinite linear;
}

.intro_c {
    font-family: "HanyiSentyGoldenBell";
    position: fixed;
    top: 200px;
    left: 600px;
    right: 50px;
    width: auto;
    height: 420px;
    z-index: -10;
    box-shadow: 0px 0px 0px black;
    margin: 0px;
    border-radius: 0px;
    background-color: transparent;
    overflow: hidden;
}

#marquee {
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

#marquee p {
    display: inline-block;
    padding-left: 40%;
    animation: marquee 5s linear infinite;
}

@keyframes scale_table {
    0% {
        font-size: 24px;
    }

    100% {
        font-size: 36px;
    }
}

@keyframes scale_word {
    0% {
        font-size: 36px;
    }

    50% {
        font-size: 42px;
    }
}

@keyframes marquee {
    from {
        transform: translate(100%, 0);
    }

    to {
        transform: translate(-100%, 0);
    }
}

#title {
    text-align: center;
    color: black;
    font-size: 36px;
    position: relative;
    line-height: 60px;
}

#form-container {
    text-align: left;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border: 2px solid #87CEEB;
    border-radius: 40px;
    box-shadow: 0px 0px 5px black;
    margin-left: 5px;
    margin-right: 5px;
    background-color: #87CEEB;
}

form {
    display: inline-block;
    width: 100%;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #333;
}

input,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

#submit-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.radio-input {
    width: 300px;
    height: 30px;
    margin: 0;
    display: flex;
    scale: 0.15;
    transform: rotate(180deg);
}

.star {
    margin: 0;
    appearance: none;
    --color: white;
    border-left: 6.4721359549996em solid transparent;
    border-right: 6.4721359549996em solid transparent;
    border-bottom: 4em solid var(--color);
    transform: rotate(0deg);
    cursor: pointer;
}

.star:before {
    content: "";
    border-left: 6.4721359549996em solid transparent;
    border-right: 6.4721359549996em solid transparent;
    border-top: 4em solid var(--color);
    position: absolute;
    left: -6.4721359549996em;
    transform: rotate(108deg);
}

.star:after {
    content: "";
    border-left: 6.4721359549996em solid transparent;
    border-right: 6.4721359549996em solid transparent;
    border-top: 4em solid var(--color);
    position: absolute;
    left: -6.4721359549996em;
    transform: rotate(253deg);
}

.radio-input>.star:hover~.star,
.radio-input>.star:hover,
.radio-input>.star:checked~.star,
.radio-input>.star:checked {
    --color: yellow;
}

.radio-input>.star:checked~.star,
.radio-input>.star:checked {
    animation: rotate 0.5s linear forwards;
    transform: rotate(360deg);
    transition: transform 0.3s;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    50% {
        scale: 1.5;
    }

    100% {
        transform: rotate(360deg);
    }
}

.main_back {
    position: absolute;
    border-radius: 10px;
    transform: rotate(90deg);
    width: 8em;
    height: 8em;
    z-index: -2;
    transition: opacity 1s, border-radius .3s;
}

.main {
    display: flex;
    flex-wrap: wrap;
    width: 8em;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.card {
    width: 60px;
    height: 60px;
    border-top-left-radius: 10px;
    transition: .3s ease, .15s background-color, .15s background-image ease-in-out;
    backdrop-filter: blur(5px);
    border: 1px solid transparent;
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .instagram {
    opacity: 0;
    transition: .2s ease-in-out;
    fill: #cc39a4;
}

.card:nth-child(2) {
    border-radius: 0px;
}

.card:nth-child(2) .twitter {
    opacity: 0;
    transition: .2s ease-in-out;
    fill: #03A9F4;
}

.card:nth-child(3) {
    border-top-right-radius: 10px;
    border-top-left-radius: 0px;
}

.card:nth-child(3) .dribble {
    opacity: 0;
    transition: .2s ease-in-out;
    fill: #ffb5d2;
}

.card:nth-child(4) {
    border-radius: 0px;
}

.card:nth-child(4) .codepen {
    opacity: 0;
    transition: .2s ease-in-out;
    fill: black;
}

.card:nth-child(5) {
    border-radius: 0px;
}

.card:nth-child(5) .uiverse {
    position: absolute;
    margin-left: 0.2em;
    margin-top: 0.2em;
    opacity: 0;
    transition: .2s ease-in-out;
}

.card:nth-child(6) {
    border-radius: 0px;
}

.card:nth-child(6) .discord {
    opacity: 0;
    transition: .2s ease-in-out;
    fill: #8c9eff;
}

.card:nth-child(7) {
    border-bottom-left-radius: 10px;
    border-top-left-radius: 0px;
}

.card:nth-child(7) .github {
    opacity: 0;
    transition: .2s ease-in-out;
    fill: black;
}

.card:nth-child(8) {
    border-radius: 0px;
}

.card:nth-child(8) .telegram {
    opacity: 0;
    transition: .2s ease-in-out;
    fill: #29b6f6;
}

.card:nth-child(9) {
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0px;
}

.card:nth-child(9) .reddit {
    opacity: 0;
    transition: .2s ease-in-out;
}

.main:hover {
    width: 8em;
    cursor: pointer;
}

.main:hover .main_back {
    opacity: 0;
    border-radius: 30px;
}

.main:hover .card {
    --hover-edge-radius: 100%;
    --hover-edge-offset: 10%;
    margin: .2em;
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.main:hover .card:nth-child(1) {
    border-top-left-radius: var(--hover-edge-radius);
}

.main:hover .card:nth-child(3) {
    border-top-right-radius: var(--hover-edge-radius);
}

.main:hover .card:nth-child(7) {
    border-bottom-left-radius: var(--hover-edge-radius);
}

.main:hover .card:nth-child(9) {
    border-bottom-right-radius: var(--hover-edge-radius);
}

.main:hover .card:nth-child(1) svg {
    margin-top: var(--hover-edge-offset);
    margin-left: var(--hover-edge-offset);
}

.main:hover .card:nth-child(3) svg {
    margin-top: var(--hover-edge-offset);
    margin-right: var(--hover-edge-offset);
}

.main:hover .card:nth-child(7) svg {
    margin-bottom: var(--hover-edge-offset);
    margin-left: var(--hover-edge-offset);
}

.main:hover .card:nth-child(9) svg {
    margin-bottom: var(--hover-edge-offset);
    margin-right: var(--hover-edge-offset);
}

.main:hover .card:nth-child(5) {
    border: transparent;
}

.main:hover .text {
    opacity: 0;
    z-index: -3;
}

.main:hover .instagram {
    opacity: 1;
}

.main:hover .twitter {
    opacity: 1;
}

.main:hover .dribble {
    opacity: 1;
}

.main:hover .codepen {
    opacity: 1;
}

.main:hover .uiverse {
    opacity: 1;
}

.main:hover .discord {
    opacity: 1;
}

.main:hover .github {
    opacity: 1;
}

.main:hover .telegram {
    opacity: 1;
}

.main:hover .reddit {
    opacity: 1;
}

.card:nth-child(1):hover {
    background-color: #cc39a4;
}

.card:nth-child(1):hover .instagram {
    fill: white;
}

.card:nth-child(2):hover {
    background-color: #03A9F4;
}

.card:nth-child(2):hover .twitter {
    fill: white;
}

.card:nth-child(3):hover {
    background-color: #ffb5d2;
}

.card:nth-child(3):hover .dribble {
    fill: white;
}

.card:nth-child(4):hover {
    background-color: #1E1F26;
}

.card:nth-child(4):hover .codepen {
    fill: white;
}

.card:nth-child(5):hover {
    animation: backgroundIMG .1s;
    animation-fill-mode: forwards;
}

.card:nth-child(5):hover .uiverse #paint0_linear_501_142 stop {
    stop-color: white;
}

.card:nth-child(5):hover .uiverse #paint1_linear_501_142 stop {
    stop-color: white;
}

.card:nth-child(5):hover .uiverse #paint2_linear_501_142 stop {
    stop-color: white;
}

@keyframes backgroundIMG {
    100% {
        background-image: linear-gradient(#BF66FF, #6248FF, #00DDEB);
    }
}

.card:nth-child(6):hover {
    background-color: #8c9eff;
}

.card:nth-child(6):hover .discord {
    fill: white;
}

.card:nth-child(7):hover {
    background-color: black;
}

.card:nth-child(7):hover .github {
    fill: white;
}

.card:nth-child(8):hover {
    background-color: #29b6f6;
}

.card:nth-child(8):hover .telegram>path:nth-of-type(1) {
    fill: white;
}

.card:nth-child(8):hover .telegram>path:nth-of-type(2) {
    fill: #29b6f6;
}

.card:nth-child(8):hover .telegram>path:nth-of-type(3) {
    fill: #29b6f6;
}

.card:nth-child(9):hover {
    background-color: rgb(255, 69, 0);
}

.card:nth-child(9) .reddit>g circle {
    fill: rgb(255, 69, 0);
}

.card:nth-child(9) .reddit>g path {
    fill: white;
}

.text {
    position: absolute;
    height: fit-content;
    text-align: center;
    z-index: 4;
}